#ifndef __DTYPE__H__
#define __DTYPE__H__

#ifdef USE_INT16
    #define DTYPE short
#else 
    #define DTYPE float
#endif

// 特征图 三个维度 用作二维矩阵时channels=1
typedef struct{
    int channels, width, height;
    DTYPE *data;
}featureMap;

typedef struct{
    int out_channels, in_channels, width, height;
    DTYPE *data;
}kernel;

typedef struct{
    int channels;
#ifdef USE_INT16
    long int *data;
#else 
    float *data;
#endif
}bias;

#endif
